package com.tgg.treeproject.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 田国刚
 * @since 2023-04-21
 */
@Getter
@Setter
@TableName("inforation_data")
public class InforationData implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("id")
    private String id;

    @TableField("name")
    private String name;

    @TableField("full_name")
    private String fullName;

    @TableField("state")
    private Boolean state;

    @TableField("reason")
    private String reason;

    /**
     * 完成数
     */
    @TableField("completion_num")
    private Integer completionNum;

    /**
     * 白名单
     */
    @TableField("grade")
    private Boolean grade;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;
    @TableField("tree_id")
    private String treeId;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
